home *** CD-ROM | disk | FTP | other *** search
- %%BeginFile: lw8_level2_colorimage-2.2
- /rgbclut Z
- /hival Z
- /bpc2h
- {
- bpc dup 8 eq
- {
- pop 255
- }{
- 4 eq
- {
- 15
- }{
- 3
- }ifelse
- }ifelse
- }bd
- /:k
- {
- /rgbclut xs
- pop
- /hival bpc2h store
- [/Indexed $c hival rgbclut]setcolorspace
- $j dup begin
- /Width iw def
- /Height ih def
- /Decode[0 hival]def
- /ImageMatrix[iw 0 0 ih 0 0]def
- /DataSource setupimageproc def
- /BitsPerComponent bpc def
- /Interpolate smoothflag def
- end
- image
- }bd
- /:l
- {
- $j dup begin
- /Width iw def
- /Height ih def
- /Decode[[currentcolor]length{0 1}repeat]def
- /ImageMatrix[iw 0 0 ih 0 0]def
- /DataSource setupimageproc def
- /BitsPerComponent 8 def
- /Interpolate smoothflag def
- end
- image
- datatype dup 5 eq exch 6 eq or{
- currentfile 0(%ADOeod)/SubFileDecode filter flushfile
- }if
- }bd
- /:x
- {
- /DeviceGray setcolorspace
- :l
- }bd
- level3
- dup startnoload
- /:lm/:l ld
- /:xm/:x ld
- /:km/:k ld
- dup endnoload not dup startnoload
- /:km
- {
- /rgbclut xs
- pop
- /hival bpc2h store
- [/Indexed $c hival rgbclut]setcolorspace
- [0 hival]domskimage
- }bd
- /:lm
- {
- [[currentcolor]length{0 1}repeat]
- domskimage
- }bd
- /:xm
- {
- /DeviceGray setcolorspace
- :lm
- }bd
- /dockeyimg
- {
- $j begin
- /ImageType 4 def
- /Decode exch def
- /MaskColor exch def
- /Width iw def
- /Height ih def
- /ImageMatrix mkimgmtx def
- /BitsPerComponent bpc def
- /DataSource setupimageproc def
- currentdict
- end
- image
- }bd
- /:lt
- {
- [0 1 0 1 0 1]
- dockeyimg
- }bd
- /:kt
- {
- /rgbclut xs
- pop
- /hival bpc2h store
- [/Indexed $c hival rgbclut]setcolorspace
- [0 hival]
- dockeyimg
- }bd
- endnoload
- %%EndFile
-